package com.rickpan.dto.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;

/**
 * 创建好友分组请求DTO
 */
@Data
@Schema(description = "创建好友分组请求")
public class CreateFriendGroupRequest {

    @NotBlank(message = "分组名称不能为空")
    @Size(min = 1, max = 50, message = "分组名称长度必须在1-50个字符之间")
    @Schema(description = "分组名称", example = "同事")
    private String groupName;

    @Size(max = 200, message = "分组描述不能超过200个字符")
    @Schema(description = "分组描述", example = "工作相关的联系人")
    private String description;

    @Schema(description = "排序顺序", example = "1")
    private Integer sortOrder;
}
